<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="lib/vue.js"></script>
</head>
<body>
    <div id="root" >
        <div v-bind:width="w" :height="h"></div>
        <div :[one]="100" :[two]="h"></div>
        <img :src="src">
    </div>
</body>
<script>
    new Vue({
        el:"#root",
        data:{
            src : 'xxxxx',
            w : '300px',
            h : '200px',
            one : 'width',
            two : 'height'
        }
    })
</script>
</html>